package com.aaa.book_mall.entity;

import org.springframework.stereotype.Component;

/**
 * @Description: 出库详情表
 * @ClassName: OutDetail
 * @Author: fengyun
 * @Date: 2021/1/20 10:46
 * @Version: 1.0
 */
@Component
public class OutDetail {
    private Integer id;
    private String out_number;
    private Integer bookid;
    private Integer bookcount;

    public OutDetail() {
    }

    public OutDetail(Integer id, String out_number, Integer bookid, Integer bookcount) {
        this.id = id;
        this.out_number = out_number;
        this.bookid = bookid;
        this.bookcount = bookcount;
    }

    public OutDetail(Integer bookid, Integer bookcount) {
        this.bookid = bookid;
        this.bookcount = bookcount;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOut_number() {
        return out_number;
    }

    public void setOut_number(String out_number) {
        this.out_number = out_number;
    }

    public Integer getBookid() {
        return bookid;
    }

    public void setBookid(Integer bookid) {
        this.bookid = bookid;
    }

    public Integer getBookcount() {
        return bookcount;
    }

    public void setBookcount(Integer bookcount) {
        this.bookcount = bookcount;
    }

    @Override
    public String toString() {
        return "OutDetail{" +
                "id=" + id +
                ", out_number=" + out_number +
                ", bookid=" + bookid +
                ", bookcount=" + bookcount +
                '}';
    }
}
